package com.zzy.springboottest;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ImportResource 加载xml配置文件
 * @author zzy
 */
@Component
@Data
@ConfigurationProperties(prefix = "student")
public class ModeStudent {
    private Integer lib;
    private String name;
    private String sex;
}
